package be.pluyckx.batteryprogress.activity.fragment.info.calculators;

import be.pluyckx.batteryprogress.activity.fragment.info.InfoFragment;
import be.pluyckx.batteryprogress.utils.calculator.AverageTimeProgressCalculator;
import be.pluyckx.batteryprogress.utils.calculator.ProgressCalculator;

/**
 * Created by Philip Luyckx on 15/08/13.
 * <p/>
 * An InfoFragment that uses the AverageTimeProgressCalculator.
 */
public class AverageInfoFragment extends InfoFragment {
  /**
   * A constructor that creates an @{link InfoFragment} using the {@link AverageTimeProgressCalculator}.
   */
  public AverageInfoFragment() {
    super(new AverageTimeProgressCalculator(), new ProgressCalculator.Parameters(ProgressCalculator.Parameters.ORDERED_OLD_LOWEST_INDEX));
  }
}
